﻿<?phpclass ActionControllerFabric {    private static $defaultController = 'Index';    public static function getController($params, $view, $user) {            if (@!$params['controller']) $params['controller'] = self::$defaultController;                $className =  $params['controller'].'ActionController';                if ( !class_exists($className) ) $className =  self::$defaultController . 'ActionController';        $actionController = new $className($params, $view, $user);    return $actionController;    }}?>